package com.xinghou.platform.dao.main;

import java.util.ArrayList;

import org.springframework.dao.DataAccessException;

import com.xinghou.platform.model.main.InterestTags;

/**
 * @author liuwei.wen
 *
 */
public interface InterestTagsDAO {

	 public InterestTags getInterestTagsById(Integer Id)throws DataAccessException;
	 
	 public int updateInterestTags(InterestTags interestTags) throws DataAccessException;
		
	 public int saveInterestTags(InterestTags interestTags) throws DataAccessException;
	 
	 /**
	  * 根据用户ID删除该用户所有兴趣标签
	  * @param userid
	  * @return
	  * @throws DataAccessException
	  */
	 public int delInterestTags(Integer userid) throws DataAccessException;
	 
	 /**
	  * 根据用户ID得到所有兴趣标签
	  * @param userid
	  * @return
	  * @throws DataAccessException
	  */
	 public ArrayList<InterestTags> getInterestTagsByUserId(Integer userid)throws DataAccessException;
}
